//
//  XCAVFlashPlayer.h
//  TTLestening
//
//  Created by dllo on 16/3/28.
//  Copyright © 2016年 dilo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>


@interface XCAVFlashPlayer : UIView

@property (nonatomic, strong)AVPlayer *play;
@property (nonatomic, strong)AVPlayerItem *playItem;

+ (instancetype)sharedFlashPlayerWithFrame:(CGRect) frame;

- (void)passUrl:(NSString *) url;

- (void)passDamuArray:(NSArray *) danmuku;

@end
